//
//  ZYBaseViewController.h
//  ZYOils
//
//  Created by 段新瑞 on 2019/9/23.
//  Copyright © 2019 Mr.Xr. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef enum XREmptyViewState {
    XREmptyViewStateNoData      = 0,
    XREmptyViewStateNoNetwork   = 1
} XREmptyViewState;

NS_ASSUME_NONNULL_BEGIN

@interface ZYBaseViewController : UIViewController


- (XREmptyView *)emptyView:(XREmptyViewState)state;

- (void)requestRefreshData;

@end

NS_ASSUME_NONNULL_END
